package com.yxw.live_vod_boot.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.yxw.live_vod_boot.entity.YxVideoCoinExchangeEntity;
import com.yxw.live_vod_boot.utils.BigDecimalSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @author xiexuxin
 * @date 2023-11-16
 */
@Data
@ApiModel(value = "YxVideoCoinExchangeVO", description = "视频币兑换VO")
public class YxVideoCoinExchangeVO extends YxVideoCoinExchangeEntity implements Serializable {

    @TableField("wedding_candies_last")
    @ApiModelProperty("兑换前喜糖")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal weddingCandiesLast;

    @TableField("wedding_candies")
    @ApiModelProperty("喜糖")
    @JsonSerialize(using = BigDecimalSerializer.class)
    private BigDecimal weddingCandies;

}
